/**
 * Copyright (c) 2016-2019 人人开源 All rights reserved.
 * <p>
 * https://www.renren.io
 * <p>
 * 版权所有，侵权必究！
 */

package io.renren.modules.job.task;

import io.renren.service.EslContentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * 会议状态定时任务
 *
 * @author Mark sunlightcs@gmail.com
 */
@Component("applicationTask")
public class ApplicationTask implements ITask {

    @Autowired
    private EslContentService eslContentService;

    @Override
    public void run(String params) {
        eslContentService.autoRefreshRoomApplicationEsl(null);

        eslContentService.autoRefreshSeatApplicationEsl();
    }
}
